Point-Wise Transformation
Use a “function”
to generate a new image B from a given image A via:
,
,
used to change Histogram
The function
operates on each image pixel independently. All pixels with original
gray level f are changed to have gray level
Properties that
should satisfy
- Monotonically non-decreasing, so that relative brightness of pixels
do not change.
-
in the same range as original
,
i.e. with same min (e.g. 0) and max values (e.g. 255), and be integers
for digital images.
- Rounding/truncation may be needed
How to design the transformation function
?
- depends on the histogram of the original image
and the
desired histogram of the transformed image
.
- To enhance contrast, we like
to be as flat as possible.
Different approaches
Using fixed functional forms: linear, non-linear
Using adaptive transform, that is determined from
and
:
- Histogram equalization
(
is uniform): Fully automatic!
- Histogram specification or matching
How to design the transformation function
?
- depends on the histogram of the original image
and the desired histogram of the transformed image
.
To enhance contrast, we like
to be as flat as possible.
Different approaches
- Using fixed functional forms: linear, non-linear
- Using adaptive transform, that is determined from
and
:
- Histogram equalization
(
is uniform): Fully automatic!
- Histogram specification or matching
see: Nonlinear Stretching